package com.zhongge.shuffle; //洗牌算法

/**
 * @ClassName Card
 * @Description TODO 扑克牌的描述
 * @Author zhongge
 * @Version 1.0
 */
@SuppressWarnings("all")
public class Card {
    //花色
    private String suit;
    //面值
    private int faceValue;

    public Card() {
    }

    public Card(String suit, int faceValue) {
        this.suit = suit;
        this.faceValue = faceValue;
    }

    public int getFaceValue() {
        return faceValue;
    }

    public void setFaceValue(int faceValue) {
        this.faceValue = faceValue;
    }

    public String getSuit() {
        return suit;
    }

    public void setSuit(String suit) {
        this.suit = suit;
    }

    //重写toString用于输出观察

    @Override
    public String toString() {
        return "{" + this.suit + this.faceValue + "}";
    }
}
